<template>
	<div>
		<span>上架</span>
		<el-select
			class="el-select"
			placeholder="请选择"
			size="mini"
			v-model="val"
			@change="val => $emit('change', val)"
		>
			<el-option label="全部" value></el-option>
			<el-option label="正常" :value="1"></el-option>
			<el-option label="已下架" :value="2"> </el-option>
		</el-select>
	</div>
</template>
<script>
import { cidType } from '@/dict/index';
export default {
	data() {
		return {
			options: cidType,
			val: 1
		};
	}
};
</script>
<style lang="scss" scoped>
span {
	color: $text-grey;
	margin-right: 10px;
}
.el-select {
	width: 90px;
}
</style>
